package com.ky.course.service;

import com.ky.common.course.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ky.common.param.CommentAdd;
import com.ky.common.param.CourseCommentVo;
import com.ky.common.vo.R;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zpa
 * @since 2024-06-22
 */
public interface CommentService extends IService<Comment> {

    List<CourseCommentVo> getCommentList(Integer courseId);

    R submitComment(Integer id, CommentAdd commentAdd);
}
